-- GENERATED SPELL FOR [Fordragon Knight] --


function spell0_27535(pUnit, Event) --@Rallying Cry,Self--
pUnit:FullCastSpellOnTarget(31732,pUnit)
pUnit:RegisterEvent('Sorts_27535', 30327, 1)
end

function Sorts_27535(pUnit, Event)
local choix_sorts_27535 = math.random(0, 0)
if choix_sorts_27535 == 0 then
pUnit:RegisterEvent('spell0_27535', 1, 1)
end
end

function mob27535_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27535', math.random(1500, 3000), 1)
end

function mob27535_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27535_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27535_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27535, 1, 'mob27535_Action')
RegisterUnitEvent(27535, 2, 'mob27535_Leave')
RegisterUnitEvent(27535, 3, 'mob27535_Kill')
RegisterUnitEvent(27535, 4, 'mob27535_Die')
